{%extends file="home/page/rechargelayout.tpl"%}

{%block name="recharge_head_static"%}
   <script>
       P.data('pid',1);
       P.data('limit_available',{%$limit_available%});
   </script>
{%/block%}

{%block name="content"%}
<div class="recharge-layout">
    <div class="recharge-header">
        <div class="recharge-header-content">
            <div class="product-type">真融宝活期</div>
            <div class="money-block ">
                <i class="ob-icon bo-icon-cycle1"></i>
                <div class="ob-context">
                    <div class="ob-title">{%($weight_profit_years_percent*100)|format_amount%}%</div>
                    <div class="ob-info">今日年化收益</div>
                </div>
            </div>
            <div class="money-block ">
                <i class="ob-icon bo-icon-cycle1"></i>
                <div class="ob-context">
                    <div class="ob-title">￥{%$plat_credit_buy|format_amount:0%}</div>
                    <div class="ob-info">
                        <div>当前可购买份额</div>
                        <div style="margin-top:5px;">
                            <a target="_blank" href="/index/demand">查看排队序列</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="money-block ">
                <i class="ob-icon bo-icon-cycle1"></i>
                <div class="ob-context">
                    <div class="ob-title">￥{%$limit_buy|format_amount%}</div>
                    <div class="ob-info">
                        <div>您的购买限额</div>
                        <div style="margin-top:5px;">
                            <a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MjM5MjQ2NjY1MA==&mid=200763590&idx=1&sn=a0a4356cb118ef6b7a96787db6b0e85f#rd">查看如何提升额度</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>

    <div class="recharge-body">
        <div class="recharge-wap">
            <div class="recharge-info">
                <div class="recharge-info-content">
                    <div class="item">
                        <span class="type-name">您的剩余可购买份额：</span>
                        <span style="font-size: 20px">￥{%$limit_available|format_amount:0%}</span>
                    </div>
                    <div class="item">
                        <div>
                            <span class="type-name">输入购买金额：</span>
                            <input type="" class="text-input recharge-amount" >
                            <a href="#recharge" class="btn btn-large btn-main recharge-confirm" style="padding:15px 25px">
                                {%if $plat_credit_buy>0%}
                                购买
                                {%else%}
                                排队购买
                                {%/if%}
                            </a>
                        </div>
                    </div>
                    <div class="tip">
                        <div class="tip-title">提示:</div>
                        <p>1.真融宝已为您垫付了本次支付费用（第三方支付平台收取支付金额的2‰~6‰作为支付手续费）。</p>
                        <p>2.您的购买份额多于真融宝活期可购买份额的部分会暂时进入排队状态，排队完成后会自动完成交易，无需手动操作。</p>
                        <p>3.收益将从排队完成日开始每天计算一次，在等待队列中的资金不产生收益。</p>
                        <p>4.当收益达到50元的整数倍时，真融宝会自动帮您将50元的整数倍资金转入排队金额，进行下一轮的自动复投，实现循环式的增值</p>
                        <p>5.真融宝活期金额可随时提现，除节假日外一般第二日可以到帐</p>
                        <p>6.更多问题，<a href="/about/faq" target="_blank">查看常见问题</a></p>
                    </div>
                </div>
            </div>
            <a name="recharge"></a>
            {%widget
                name="common:widget/recharge/recharge.tpl"
                call="recharge"
                agreement = 1
            %}
        </div>

    </div>
</div>
{%/block%}
